<?php
/**
 * Created by JetBrains PhpStorm.
 * User: T420
 * Date: 9/27/12
 * Time: 3:41 PM
 * To change this template use File | Settings | File Templates.
 */
class Libs_View
{
    public function __construct()
    {

    }
    public function render($name,$inc=true)
    {
        if($inc)
        {
            include_once 'views/banner.php';
            include_once 'views/'.$name.'.php';
            include_once 'views/menu.php';
            include_once 'views/footer.php';
        }
        else
        {
            include_once 'views/'.$name.'.php';
        }
    }

}
